Use the Defines List

The Defines list consists of defined constants, (an expression with a fixed value). Defines are both pre-defined (internal) and user-created (global and local). Defines are used to determine which parts of a program's code will be compiled using an ifdef statement (see Conditional Compiling). This creates more efficient code for a given machine type. For example, you can write a program that covers many machine types but compile for a specific machine with more efficient code.

Defined constants have three levels of scope:

Level Scope
Internal Defines All the projects present on your machine
Global Defines All the programs within your project. These are user-defined.
Local definitions Only the current program currently open

KAS IDE"Integrated development environment" An integrated development environment is a type of computer software that assists computer programmers in developing software. IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger supports the definition of aliases.Closed An alias is a unique identifier that can be used in programs to replace other text. See Alias Definitions for more information.

 


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™